package io.jft.doll.ui.home.bind

import com.alibaba.android.vlayout.VirtualLayoutManager
import com.g.base.ui.recyclerView.item.BaseItem
import io.jft.doll.R
import io.jft.doll.databinding.ItemQuickButtonItemBinding

class ButtonItemBind(val image: Int) : BaseItem<ItemQuickButtonItemBinding>() {
    override val layoutId: Int = R.layout.item_quick_button_item
    override fun onBind(binding: ItemQuickButtonItemBinding) {
        (binding.root.layoutParams as VirtualLayoutManager.LayoutParams).mAspectRatio = 1.65f
    }
}